<%-- 
    Document   : login
    Created on : 2019-9-2, 10:43:27
    Author     : danny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jspf/top.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>登录表单</h1>
        <form action="${contextPath}/login.do?action=doLogin" method="post">
            用户名：<input name="userName" type="text"/><br/>
            密码：<input name="pwd" type="password"/><br/>
            <span style="color: red">${error}</span><br/>
            <input type="submit" value="登录"/>
        </form>
    </body>
</html>
